package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2024-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShoppingCarts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车id
     */
    @TableId(value = "shop_id", type = IdType.AUTO)
    private Integer shopId;

    /**
     * 用户id
     */
    private Integer usrId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 店铺id
     */
    private Integer keeperId;

    /**
     * 类型id
     */
    private Integer typeId;

    /**
     * 商品数量
     */
    private Integer shopNumber;

    /**
     * 总价格
     */
    private BigDecimal shopCount;

    /**
     * 是否选中
     */
    private String shopFig;
}
